<template>
  <div>
    <div class="m-20">style 类型</div>
    <tiny-skeleton>
      <template #placeholder>
        <tiny-skeleton-item style="width: 200px; height: 100px"></tiny-skeleton-item>
      </template>
    </tiny-skeleton>

    <div class="m-20">class 类型</div>
    <tiny-skeleton>
      <template #placeholder>
        <tiny-skeleton-item class="tiny-skeleton-class"></tiny-skeleton-item>
      </template>
    </tiny-skeleton>
  </div>
</template>

<script setup>
import { TinySkeleton, TinySkeletonItem } from '@opentiny/vue'
</script>

<style scoped>
.tiny-skeleton-class {
  width: 200px;
  height: 100px;
}
.m-20 {
  margin: 20px 0;
}
</style>
